function showzuobiaodw(){
	$.dialog({
        id:'zuobiaodw',
        title:'坐标定位', 
        content:'url:'+webroot+'/search/zuobiaodw.jsp',
        okVal:false,//确定按钮文字
        cancelVal:false,//取消按钮文字
        min:true, //是否显示最小化按钮
        max:false,//是否显示最大化按钮
        fixed:false,//开启静止定位
        lock:true,//开启锁屏 
        focus:true,//弹出窗口后是否自动获取焦点（4.2.0新增）
        time:null,//设置对话框显示时间
        resize:true,//是否允许用户调节尺寸
        drag:true,//是否允许用户拖动位置
        cache:false,//是否缓存iframe方式加载的窗口内容页
        width: '660px',
        height: 300
      });
      //showTree()
}

/*function searchzuobiaodw(jingdu,weidu,juli){
	var actionUrl = webroot+"/guanxianAction!getGuanduanlistbyzuobiaodw.action?jingdu="+jingdu+"&weidu="+weidu+"&juli="+juli;  
 		$.ajax({  
		  url : actionUrl,  
	      type : "post",   
	      dataType : "json",  
	      cache : false,  
	      error : function(textStatus, errorThrown) {  
	          alert("系统ajax交互错误: " + textStatus.value);  
	      },  
	      success : function(data, textStatus) {
	      	//把管段信息显示到页面上
	      	document.getElementById("mapcontent").contentWindow.showGuanduanlines(data.guanduandata);
	      	//按输入的管段信息画圆
	      	document.getElementById("mapcontent").contentWindow.drawCircle(data.jingdu,data.weidu,data.juli);
	      	var obj = new Object();
	      	obj.jingdu = jingdu;
	      	obj.weidu = weidu;
	      	obj.juli = juli;
	      	//刷新左侧数信息
	      	refreshtreebykey('zuobiaodw',obj);
	    }  
	});
}*/
function searchzuobiaodw(jingdu,weidu,juli,zuobiaox,zuobiaoy,julixy,context){
	var actionUrl = webroot+"/guanxianAction!getGuanduanlistbyzuobiaodw.action?jingdu="+jingdu+
	"&weidu="+weidu+"&juli="+juli+"&zuobiaox="+zuobiaox+"&zuobiaoy="+zuobiaoy+
	"&julixy="+julixy;  
 		$.ajax({  
		  url : actionUrl,  
	      type : "post",   
	      dataType : "json",  
	      cache : false,  
	      error : function(textStatus, errorThrown) {  
	          alert("系统ajax交互错误: " + textStatus.value);  
	      },  
	      success : function(data, textStatus) {
	      	//把管段信息显示到页面上
	      	document.getElementById("mapcontent").contentWindow.showGuanduanlines(data.guanduandata);
	      	//按输入的管段信息画圆
	      	document.getElementById("mapcontent").contentWindow.drawCircle(data.jingdu,data.weidu,data.juli);
	      	var obj = new Object();
	      	obj.jingdu = jingdu;
	      	obj.weidu = weidu;
	      	obj.juli = juli;
	      	obj.zuobiaox = zuobiaox;
	      	obj.zuobiaoy = zuobiaoy;
	      	obj.julixy = julixy;
	      	//刷新左侧数信息
	      	refreshtreebykey('zuobiaodw',obj);
	    }  
	});
}